package com.cqan.account.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cqan.account.dao.ResourceDao;
import com.cqan.account.entity.Resource;
import com.cqan.account.entity.Resource.ResourceType;
import com.cqan.account.service.ResourceService;
import com.cqan.orm.Page;
import com.cqan.service.impl.EntityServiceImpl;

@Service("resourceService")
public class ResourceServiceImpl extends EntityServiceImpl<Resource,Long,ResourceDao>
		implements ResourceService {

	@Override
	@Autowired
	public void setEntityDao(ResourceDao entityDao) {
		this.entityDao = entityDao;
	}

	
	@Override
	public Page<Resource> getAllMenu(Page<Resource> page) {
		
		return entityDao.getAllMenu(page);
	}




}
